<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ taglib prefix="display" uri="http://displaytag.sf.net" %>
<%@ page language="java" pageEncoding="UTF-8" %>
<%
    String path = request.getContextPath();
%>
<html>
<head>
    <script type="text/javascript" src="<%=path %>/js/jquery-1.6.1.js"></script>
    <link rel="stylesheet" href="<%=path%>/css/displaytag.css" type="text/css" />
    <script type="text/javascript">
    </script>
</head>

<body>

<div id="message"></div>
<form action="account_search" style="width: 100%">
    <table cellpadding="0" border="0" cellspacing="0" width="100%">
        <tr>
            <td width="30%">用户名</td>
            <td>
                <s:textfield name="admin.username"/>
            </td>
        </tr>
        <tr>
            <td>密码</td>
            <td>
                <s:textfield name="admin.password"/>
            </td>
        </tr>
        <br>
        <tr>
            <td><s:submit value="查询"/></td>
        </tr>
        <br>
        <tr>
                    <display:table name="paginatedList" requestURI="account_search" sort="list">
                        <display:column property="id" title="ID"  sortable="true" headerClass="sortable" decorator=""/>
                        <display:column property="username" title="用户名"  sortable="true" headerClass="sortable"/>
                        <display:column property="password" title="密码"  sortable="true" headerClass="sortable"/>
                        <display:column property="oncreateAsStr" title="创建日期"  sortable="true" headerClass="sortable"/>
                    </display:table>
        </tr>

    </table>

</form>
</body>
</html>
